/*
 * 5x7 fixed font taken from http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
 * "Public domain font.  Share and enjoy."
 */

#define FONT_WIDTH 5
#define FONT_HEIGHT 7
#define FONT_OFFSET 32
#define FONT_MAX 127

const unsigned char font[][FONT_WIDTH] = {
	{0x00, 0x00, 0x00, 0x00, 0x00}, /* space */
	{0x00, 0x00, 0x5e, 0x00, 0x00}, /* exclam */
	{0x00, 0x0e, 0x00, 0x0e, 0x00}, /* quotedbl */
	{0x28, 0x7c, 0x28, 0x7c, 0x28}, /* numbersign */
	{0x08, 0x54, 0x7c, 0x54, 0x20}, /* dollar */
	{0x26, 0x10, 0x08, 0x64, 0x00}, /* percent */
	{0x28, 0x54, 0x28, 0x40, 0x00}, /* ampersand */
	{0x00, 0x00, 0x0e, 0x00, 0x00}, /* quotesingle */
	{0x00, 0x3c, 0x42, 0x00, 0x00}, /* parenleft */
	{0x00, 0x42, 0x3c, 0x00, 0x00}, /* parenright */
	{0x00, 0x54, 0x38, 0x54, 0x00}, /* asterisk */
	{0x10, 0x10, 0x7c, 0x10, 0x10}, /* plus */
	{0x00, 0x80, 0x60, 0x20, 0x00}, /* comma */
	{0x10, 0x10, 0x10, 0x10, 0x00}, /* hyphen */
	{0x00, 0x60, 0x60, 0x00, 0x00}, /* period */
	{0x20, 0x10, 0x08, 0x04, 0x00}, /* slash */
	{0x00, 0x3c, 0x42, 0x3c, 0x00}, /* zero */
	{0x00, 0x44, 0x7e, 0x40, 0x00}, /* one */
	{0x44, 0x62, 0x52, 0x4c, 0x00}, /* two */
	{0x22, 0x4a, 0x4a, 0x36, 0x00}, /* three */
	{0x18, 0x14, 0x7e, 0x10, 0x00}, /* four */
	{0x2e, 0x4a, 0x4a, 0x32, 0x00}, /* five */
	{0x3c, 0x4a, 0x4a, 0x30, 0x00}, /* six */
	{0x02, 0x62, 0x1a, 0x06, 0x00}, /* seven */
	{0x34, 0x4a, 0x4a, 0x34, 0x00}, /* eight */
	{0x0c, 0x52, 0x52, 0x3c, 0x00}, /* nine */
	{0x00, 0x6c, 0x6c, 0x00, 0x00}, /* colon */
	{0x80, 0x6c, 0x2c, 0x00, 0x00}, /* semicolon */
	{0x00, 0x10, 0x28, 0x44, 0x00}, /* less */
	{0x28, 0x28, 0x28, 0x28, 0x00}, /* equal */
	{0x00, 0x44, 0x28, 0x10, 0x00}, /* greater */
	{0x00, 0x04, 0x52, 0x0c, 0x00}, /* question */
	{0x3c, 0x42, 0x5a, 0x1c, 0x00}, /* at */
	{0x7c, 0x12, 0x12, 0x7c, 0x00}, /* A */
	{0x7e, 0x4a, 0x4a, 0x34, 0x00}, /* B */
	{0x3c, 0x42, 0x42, 0x24, 0x00}, /* C */
	{0x7e, 0x42, 0x42, 0x3c, 0x00}, /* D */
	{0x7e, 0x4a, 0x4a, 0x42, 0x00}, /* E */
	{0x7e, 0x0a, 0x0a, 0x02, 0x00}, /* F */
	{0x3c, 0x42, 0x52, 0x74, 0x00}, /* G */
	{0x7e, 0x08, 0x08, 0x7e, 0x00}, /* H */
	{0x00, 0x42, 0x7e, 0x42, 0x00}, /* I */
	{0x20, 0x40, 0x40, 0x3e, 0x00}, /* J */
	{0x7e, 0x18, 0x24, 0x42, 0x00}, /* K */
	{0x7e, 0x40, 0x40, 0x40, 0x00}, /* L */
	{0x7e, 0x0c, 0x0c, 0x7e, 0x00}, /* M */
	{0x7e, 0x0c, 0x30, 0x7e, 0x00}, /* N */
	{0x3c, 0x42, 0x42, 0x3c, 0x00}, /* O */
	{0x7e, 0x12, 0x12, 0x0c, 0x00}, /* P */
	{0x3c, 0x62, 0x42, 0xbc, 0x00}, /* Q */
	{0x7e, 0x12, 0x32, 0x4c, 0x00}, /* R */
	{0x24, 0x4a, 0x52, 0x24, 0x00}, /* S */
	{0x00, 0x02, 0x7e, 0x02, 0x00}, /* T */
	{0x3e, 0x40, 0x40, 0x3e, 0x00}, /* U */
	{0x1e, 0x60, 0x60, 0x1e, 0x00}, /* V */
	{0x7e, 0x30, 0x30, 0x7e, 0x00}, /* W */
	{0x66, 0x18, 0x18, 0x66, 0x00}, /* X */
	{0x00, 0x0e, 0x70, 0x0e, 0x00}, /* Y */
	{0x62, 0x52, 0x4a, 0x46, 0x00}, /* Z */
	{0x00, 0x7e, 0x42, 0x42, 0x00}, /* bracketleft */
	{0x04, 0x08, 0x10, 0x20, 0x00}, /* backslash */
	{0x00, 0x42, 0x42, 0x7e, 0x00}, /* bracketright */
	{0x00, 0x04, 0x02, 0x04, 0x00}, /* asciicircum */
	{0x40, 0x40, 0x40, 0x40, 0x00}, /* underscore */
	{0x00, 0x02, 0x04, 0x00, 0x00}, /* grave */
	{0x30, 0x48, 0x28, 0x78, 0x00}, /* a */
	{0x7e, 0x48, 0x48, 0x30, 0x00}, /* b */
	{0x30, 0x48, 0x48, 0x00, 0x00}, /* c */
	{0x30, 0x48, 0x48, 0x7e, 0x00}, /* d */
	{0x30, 0x68, 0x58, 0x10, 0x00}, /* e */
	{0x10, 0x7c, 0x12, 0x04, 0x00}, /* f */
	{0x50, 0xa8, 0xa8, 0x98, 0x00}, /* g */
	{0x7e, 0x08, 0x08, 0x70, 0x00}, /* h */
	{0x00, 0x48, 0x7a, 0x40, 0x00}, /* i */
	{0x00, 0x40, 0x80, 0x7a, 0x00}, /* j */
	{0x7e, 0x10, 0x28, 0x40, 0x00}, /* k */
	{0x00, 0x42, 0x7e, 0x40, 0x00}, /* l */
	{0x78, 0x10, 0x18, 0x70, 0x00}, /* m */
	{0x78, 0x08, 0x08, 0x70, 0x00}, /* n */
	{0x30, 0x48, 0x48, 0x30, 0x00}, /* o */
	{0xf8, 0x48, 0x48, 0x30, 0x00}, /* p */
	{0x30, 0x48, 0x48, 0xf8, 0x00}, /* q */
	{0x78, 0x08, 0x08, 0x10, 0x00}, /* r */
	{0x50, 0x58, 0x68, 0x28, 0x00}, /* s */
	{0x08, 0x3e, 0x48, 0x40, 0x00}, /* t */
	{0x38, 0x40, 0x40, 0x78, 0x00}, /* u */
	{0x00, 0x38, 0x40, 0x38, 0x00}, /* v */
	{0x78, 0x60, 0x60, 0x78, 0x00}, /* w */
	{0x48, 0x30, 0x30, 0x48, 0x00}, /* x */
	{0x18, 0xa0, 0x40, 0x38, 0x00}, /* y */
	{0x48, 0x68, 0x58, 0x48, 0x00}, /* z */
	{0x00, 0x08, 0x3c, 0x42, 0x00}, /* braceleft */
	{0x00, 0x00, 0x7e, 0x00, 0x00}, /* bar */
	{0x00, 0x42, 0x3c, 0x08, 0x00}, /* braceright */
};
